package com.gitee.aurora.server.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;


public class PtcjConfig {

        /**
         *主键
         */
        private int sId;
        /**
         *机构编号
         */
        @ApiModelProperty(value = "机构编号")
        private String sCode;
        /**
         *机构名称
         */
        @ApiModelProperty(value = "机构名称")
        private String sCodeName;
        /**
         *机构层级
         */
        @ApiModelProperty(value = "机构层级")
        private String ptCj;
        /**
         *机构ip地址
         */
        @ApiModelProperty(value = "机构ip地址")
        private String ptIp;
        /**
         *父机构编号
         */
        @ApiModelProperty(value = "父机构编号")
        private String fCode;
        /**
         *父机构名称
         */
        @ApiModelProperty(value = "父机构名称")
        private String fCodeName;
        /**
         *机构排序编号
         */
        @ApiModelProperty(value = "机构排序编号")
        private Integer fCodeOrder;
        /**
         *创建时间
         */
        @ApiModelProperty(value = "创建时间")
        @JsonFormat(shape = JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private Date dtCreateTime;
        /**
         *修改时间
         */
        @ApiModelProperty(value = "修改时间")
        @JsonFormat(shape = JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private Date dtUpdateTime;
        /**
         *机构路径
         */
        @ApiModelProperty(value = "机构路径")
        private String sPath;
        /**
         *机构集合
         */
        @ApiModelProperty(value = "机构路径")
        public List<PtcjConfig> childList;
        /**
         *sql语句
         */
        @ApiModelProperty(value = "sql语句")
        private String ptSql;
        /**
         *平台表名
         */
        @ApiModelProperty(value = "平台表名")
        private String ptTable;
        /**
         *平台编号
         */
        @ApiModelProperty(value = "平台编号")
        private Integer ptCode;
        /**
         *机构编号
         */
        @ApiModelProperty(value = "机构编号")
        private String code;

        public int getsId() {
                return sId;
        }

        public void setsId(int sId) {
                this.sId = sId;
        }

        public String getsCode() {
                return sCode;
        }

        public void setsCode(String sCode) {
                this.sCode = sCode;
        }

        public String getsCodeName() {
                return sCodeName;
        }

        public void setsCodeName(String sCodeName) {
                this.sCodeName = sCodeName;
        }

        public String getPtCj() {
                return ptCj;
        }

        public void setPtCj(String ptCj) {
                this.ptCj = ptCj;
        }

        public String getPtIp() {
                return ptIp;
        }

        public void setPtIp(String ptIp) {
                this.ptIp = ptIp;
        }

        public String getfCode() {
                return fCode;
        }

        public void setfCode(String fCode) {
                this.fCode = fCode;
        }

        public String getfCodeName() {
                return fCodeName;
        }

        public void setfCodeName(String fCodeName) {
                this.fCodeName = fCodeName;
        }

        public Integer getfCodeOrder() {
                return fCodeOrder;
        }

        public void setfCodeOrder(Integer fCodeOrder) {
                this.fCodeOrder = fCodeOrder;
        }

        public Date getDtCreateTime() {
                return dtCreateTime;
        }

        public void setDtCreateTime(Date dtCreateTime) {
                this.dtCreateTime = dtCreateTime;
        }

        public Date getDtUpdateTime() {
                return dtUpdateTime;
        }

        public void setDtUpdateTime(Date dtUpdateTime) {
                this.dtUpdateTime = dtUpdateTime;
        }

        public String getsPath() {
                return sPath;
        }

        public void setsPath(String sPath) {
                this.sPath = sPath;
        }

        public List<PtcjConfig> getChildList() {
                return childList;
        }

        public void setChildList(List<PtcjConfig> childList) {
                this.childList = childList;
        }

        public String getPtSql() {
                return ptSql;
        }

        public void setPtSql(String ptSql) {
                this.ptSql = ptSql;
        }

        public String getPtTable() {
                return ptTable;
        }

        public void setPtTable(String ptTable) {
                this.ptTable = ptTable;
        }

        public Integer getPtCode() {
                return ptCode;
        }

        public void setPtCode(Integer ptCode) {
                this.ptCode = ptCode;
        }

        public String getCode() {
                return code;
        }

        public void setCode(String code) {
                this.code = code;
        }

        @Override
        public String toString() {
                return "PtcjConfig{" +
                        "sId='" + sId + '\'' +
                        ", sCode='" + sCode + '\'' +
                        ", sCodeName='" + sCodeName + '\'' +
                        ", ptCj='" + ptCj + '\'' +
                        ", ptIp='" + ptIp + '\'' +
                        ", fCode='" + fCode + '\'' +
                        ", fCodeName='" + fCodeName + '\'' +
                        ", fCodeOrder=" + fCodeOrder +
                        ", dtCreateTime=" + dtCreateTime +
                        ", dtUpdateTime=" + dtUpdateTime +
                        ", sPath='" + sPath + '\'' +
                        ", childList=" + childList +
                        ", ptSql='" + ptSql + '\'' +
                        ", ptTable='" + ptTable + '\'' +
                        ", ptCode=" + ptCode +
                        ", code='" + code + '\'' +
                        '}';
        }
}
